// 这个是用来干嘛的 就是给表单提供数据的
import { reactive } from 'vue'
import { AddCaseModel } from '@/api/test/testModel'
export default function useBaseModel() {
  const rules = reactive({
    testName: [{
      required: true,
      message: '请填写菜单名称',
      trigger: 'blur',
    }],
  })
  const dialogModel = reactive<AddCaseModel>({
    pid: '0',
    testName: '',
  })
  return {
    rules, dialogModel
  }
}